package com.ktwlsoft.fundmanage.utils.serviceInteraction;

import com.ktwlsoft.fundmanage.payload.NetSignResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient( value = "bssp-signing-server", url = "http://192.168.51.78:20061/api/bssp-test/",fallback = NetSignInteractionFallback.class)
public interface NetSignInteraction {

    @GetMapping(value = "/sr/signing/getShhSignBySigningCode")
    NetSignResult<String> getShhSignBySigningCode(@RequestParam(name = "signingCode") String signingCode);
}
